package com.mindainfo.groundwave.common.api.member.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by MD-01 on 2017/6/28.
 */
public class RoleQueryListVo {

    private Integer roleId;
    private String name;
    private String tag;
    private String description;
    private String createTime;
    private Integer createMemberId;
    private String createMemberName;
    private Integer orderNum;
    private List<RolePermissionVo> permissionList = new ArrayList<>();

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateMemberId() {
        return createMemberId;
    }

    public void setCreateMemberId(Integer createMemberId) {
        this.createMemberId = createMemberId;
    }

    public String getCreateMemberName() {
        return createMemberName;
    }

    public void setCreateMemberName(String createMemberName) {
        this.createMemberName = createMemberName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public List<RolePermissionVo> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<RolePermissionVo> permissionList) {
        this.permissionList = permissionList;
    }

    public static class RolePermissionVo{
        private Integer permissionId;
        private String name;
        private Integer parentId;
        private Integer type;

        public Integer getPermissionId() {
            return permissionId;
        }

        public void setPermissionId(Integer permissionId) {
            this.permissionId = permissionId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getParentId() {
            return parentId;
        }

        public void setParentId(Integer parentId) {
            this.parentId = parentId;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }
    }
}
